export const keyboardListener = (e: KeyboardEvent) => {
  // 键盘监听,如果是上下键，则触发翻页
  if (e.key === 'ArrowUp') {
    console.log('up');
  }
  if (e.key === 'ArrowDown') {
    console.log('down');
  }
};
